﻿<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{C5F3FB57-E1DA-4B10-ACBA-360F9C0D8DC6}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>$safeprojectname$</RootNamespace>
    <AssemblyName>$safeprojectname$</AssemblyName>
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>temp.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\MOSSDLLs\Microsoft.SharePoint.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Web" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="ManifestTemplate.xml" />
    <Content Include="DeploymentScripts\deploy.cmd" />
    <Content Include="DeploymentScripts\upgrade.cmd" />
  </ItemGroup>
  <ItemGroup>
    <None Include="temp.snk" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Assemblies" />
    <Folder Include="TEMPLATE\1033\XML\" />
    <Folder Include="TEMPLATE\FEATURES\" />
    <Folder Include="TEMPLATE\LAYOUTS\" />
    <Folder Include="TEMPLATE\SiteTemplates\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <!-- <Target Name="BeforeBuild">
    
  </Target>-->
  <Target Name="AfterBuild">
    <Exec Command="$(MakeWSPPath) -n $(TargetFileName) -m $(Configuration)" />
    <Exec Command="$(MakeCabPath) /F $(TargetFileName).ddf /D CabinetNameTemplate=$(MSBuildProjectName).wsp /D DiskDirectory1=wsp" />
  </Target>
  <PropertyGroup>
    <MakeWSPPath>"C:\CreateDDF\CreateDDF.exe"</MakeWSPPath>
    <MakeCabPath>"C:\Windows\System32\makecab.exe"</MakeCabPath>
  </PropertyGroup>
</Project>